package com.example.demo.mapper;

import com.example.demo.entity.CommentInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentMapper {
    int add(CommentInfo commentInfo);
    List<CommentInfo> initComment(@Param("article_id") Integer article_id);
}
